import time

import pytest
from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
driver = webdriver.Edge()
driver.get('http://10.59.9.12:7001/')
driver.find_element(By.XPATH,'//*[@id="searchForm"]/div[1]/input').send_keys('音乐耳机')
time.sleep(5)
driver.find_element(By.XPATH,'//*[@id="searchForm"]/div[2]/input').click()
time.sleep(5)
driver.quit()
